package org.wms.minbearwcs.entity.DTO.transfer;

public class Tuple<T> {

    public T value;
    public boolean success;

    private Tuple(T value, boolean success) {
        this.value = value;
        this.success = success;
    }

    public static <T> Tuple<T> tuple(T value, boolean success) {
        return new Tuple<>(value, success);
    }
}
